<template>
  <div class="main-tabbar">
    <Tabbar>
      <TabbarItem path="/home">
        <img slot="item-icon" src="~assets/images/tabbar/home.svg" alt="" />
        <img
          slot="item-icon-active"
          src="~assets/images/tabbar/home_active.svg"
          alt=""
        />
        <div slot="item-text">首页</div>
      </TabbarItem>
      <TabbarItem path="/category">
        <img slot="item-icon" src="~assets/images/tabbar/category.svg" alt="" />
        <img
          slot="item-icon-active"
          src="~assets/images/tabbar/category_active.svg"
          alt=""
        />
        <div slot="item-text">分类</div>
      </TabbarItem>
      <TabbarItem path="/cart">
        <img slot="item-icon" src="~assets/images/tabbar/shopcart.svg" alt="" />
        <img
          slot="item-icon-active"
          src="~assets/images/tabbar/shopcart_active.svg"
          alt=""
        />
        <div slot="item-text">购物车</div>
      </TabbarItem>
      <TabbarItem path="/profile">
        <img slot="item-icon" src="~assets/images/tabbar/profile.svg" alt="" />
        <img
          slot="item-icon-active"
          src="~assets/images/tabbar/profile_active.svg"
          alt=""
        />
        <div slot="item-text">我的</div>
      </TabbarItem>
    </Tabbar>
  </div>
</template>

<script>
export default {};
</script>

<style lang="less" scoped>
</style>